#ifndef _MYSTDIO_h_
#define _MYSTDIO_h_

#include<stdio.h>
#include<string.h>

#define size 1024

#define flush_line 1
#define flush_now 2
#define flush_all 4

typedef struct IO_FILE
{
  char outbuffer[size];
  int outpos;
  int fileno;
  int flag;
}_FILE;

_FILE*_fopen(const char*filename,const char*mode);

int _fwrite(_FILE*fp,const char*str,int len);

void _fclose(_FILE*fp);

void _fflush(_FILE*fp);
























#endif
